package cn.enjoy.boot;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author K
 * @date 2021-11-09 21:39
 */
@MapperScan({"cn.enjoy.boot.mapper"})
@ComponentScan(basePackages = {"cn.enjoy"})
@SpringBootApplication
public class BootApplication {
    public static void main(String[] args) {
        SpringApplication.run(BootApplication.class, args);
    }
}
